from pydantic import BaseModel
from enum import Enum


class UserInfo(BaseModel):
    u_name: str = None
    u_pwd: str = None


class UserAuth(int, Enum):
    Administrator = 99
    PGM = 88
    OP = 44
